//
//  Right_Cell.m
//  Stock_List
//
//  Created by Canny on 2017/5/29.
//  Copyright © 2017年 HZJK. All rights reserved.
//

#import "Right_Cell.h"
#import "Masonry.h"
#import "UIView+customView.h"
@interface Right_Cell ()
@property (nonatomic,strong)UIView  * view_Line;
@end
@implementation Right_Cell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self){
        self.backgroundColor = [UIColor whiteColor];
        [self initView];
    }
    return self;
}

- (void)initView{
    _view_Line=[[UIView alloc]init];
    _view_Line.backgroundColor=[UIColor grayColor];
    _view_Line.alpha=0.6;
    [self addSubview:_view_Line];
    [_view_Line mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.and.right.and.bottom.equalTo(self);
        make.height.mas_equalTo(0.6);
        
    }];
    
}
-(void)relayOutWithModel:( NSArray * )model{

    UIView *view = [UIView viewWithLabelNumber:model.count];
    view.tag = 100;
    [self addSubview:view];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
